package org.cnam.mobileShopping.bean;

import java.text.SimpleDateFormat;

public class Constants {
	public enum statusUser {
		OWNER("1"), COLLAB("2");

		public final String value;
		public final int id;

		public int getId() {
			return id;
		}

		public String getValue() {
			return value;
		}

		private statusUser(String id) {
			this.id = new Integer(id);
			this.value = "";
		}
	}

	public enum statusList {
		EDITABLE("1"), ENCOURSCOURSE("2");

		public final String value;
		public final short id;

		public short getId() {
			return id;
		}

		public String getValue() {
			return value;
		}

		private statusList(String id) {
			this.id = new Short(id);
			this.value = "";
		}
	}
	
	public enum statusProductInList {
		NOTBUY("1"), BUY("2");

		public final String value;
		public final short id;

		public short getId() {
			return id;
		}

		public String getValue() {
			return value;
		}

		private statusProductInList(String id) {
			this.id = new Short(id);
			this.value = "";
		}
	}

	public static SimpleDateFormat formatDateFR = new SimpleDateFormat(
			"dd/MM/yyyy hh:mm");

	public static SimpleDateFormat formatDateEN = new SimpleDateFormat(
			"yyyy-MM-dd'T'HH:mm:ss.SSSZ");
}
